home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / pgrab.xml < prev    next >
Text File  |  2002-09-25  |  4KB  |  99 lines

  1. <search function="pgrab">
  2.   <COMMENT>
  3.     This search was created with Glen Carr's DQSD Search Wizard v 0.9.1 (beta),
  4.     which kicks sufficient ass to enable a clueless schlub crank one of these 
  5.     suckers out in under a half hour.
  6.   </COMMENT>
  7.   <name>PriceGrabber</name>
  8.   <category>Shopping</category>
  9.   <contributor>Andrew D. Myers</contributor>
  10.   <link>http://www.pricegrabber.com/</link>
  11.   <email>myers@pobox.com</email>
  12.   <description>
  13.   Price searches, product info, vendor ratings & reviews. 
  14.     <div class="helpboxDescLabels">Switches:</div>
  15.     <table class="helpboxDescTable">
  16.       <tr><td>/computers</td><td> - </td><td>Computers & parts</td></tr>
  17.       <tr><td>/software</td><td> - </td><td>Software</td></tr>
  18.       <tr><td>/electronics</td><td> - </td><td>Consumer Electronics</td></tr>
  19.       <tr><td>/videogames</td><td> - </td><td>Video Games</td></tr>
  20.       <tr><td>/movies</td><td> - </td><td>Movies</td></tr>
  21.       <tr><td>/music</td><td> - </td><td>Music</td></tr>
  22.       <tr><td>/books</td><td> - </td><td>Books</td></tr>
  23.       <tr><td>/toys</td><td> - </td><td>Toys</td></tr>
  24.       <tr><td>/office</td><td> - </td><td>Office Products</td></tr>
  25.     </table>
  26.     <div class="helpboxDescLabels">Examples:</div>
  27.     <table class="helpboxDescTable">
  28.       <tr><td>pgrab GeForce4 4400</td></tr>
  29.       <tr><td>pgrab Lord of the Rings /books</td></tr>
  30.     </table>
  31.   </description>
  32.   <form name="pgrabf"
  33.         method="get"
  34.         action="http://www.pricegrabber.com/search_gen.php/">
  35.     <input type="hidden" name="topcat_id" value="" />
  36.     <input type="hidden" name="topcat_search" value="1" />
  37.     <input type="hidden" name="form_keyword" value="" />
  38.     <input type="hidden" name="ut" value="" />
  39.   </form>
  40.   <script><![CDATA[
  41.     function pgrab(q)
  42.     {
  43.       if( nullArgs("pgrab", q) )
  44.         return;
  45.  
  46.       var args = parseArgs(q, "computers, software, electronics, videogames, movies, music, books, toys, office");
  47.       if ( args.switches.length > 0 )
  48.       {
  49.         switch( args.switches[0].name )
  50.         {
  51.           case "computers":
  52.             document.pgrabf.topcat_id.value = "1";
  53.             break;
  54.           case "software":
  55.             document.pgrabf.topcat_id.value = "9";
  56.             break;
  57.           case "electronics":
  58.             document.pgrabf.topcat_id.value = "2";
  59.             break;
  60.           case "videogames":
  61.             document.pgrabf.topcat_id.value = "3";
  62.             break;
  63.           case "movies":
  64.             document.pgrabf.topcat_id.value = "4";
  65.             break;
  66.           case "music":
  67.             document.pgrabf.topcat_id.value = "6";
  68.             break;
  69.           case "books":
  70.             document.pgrabf.topcat_id.value = "10";
  71.             break;
  72.           case "toys":
  73.             document.pgrabf.topcat_id.value = "12";
  74.             break;
  75.           case "office":
  76.             document.pgrabf.topcat_id.value = "13";
  77.             break;
  78.           default:
  79.             document.pgrabf.topcat_id.value = "";
  80.             break;
  81.         }
  82.       }
  83.  
  84.       document.pgrabf.form_keyword.value = args.q;
  85.       document.pgrabf.ut.value = "";
  86.  
  87.       submitForm(pgrabf);
  88.     }
  89.   ]]></script>
  90.   <copyright>
  91.     Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  92.   </copyright>
  93.   <created_by>
  94.     This search file was initially created on 09/25/02 at 01:55:13
  95.     by Dave's Quick Search Deskbar Search Wizard version 0.9.1 (beta),
  96.     Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  97.   </created_by>
  98. </search>
  99.